import 'package:get/get.dart';

import 'get_jump_two_state.dart';

class GetJumpTwoLogic extends GetxController {
  final GetJumpTwoState state = GetJumpTwoState();
  var count = 0;
  var msg = '';

  @override
  void onReady() {
    var map = Get.arguments;  //读取参数
    msg = map['msg'];
    update();
    super.onReady();
  }
  ///跳转到跨页面
  void increase(){
    count = ++count;
    update();
  }
}
